﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using FDSimpleModelGenerator.Entities.Enums;

namespace FDSimpleModelGenerator.Entities.Histories
{
    /// <summary>
    /// 生成历史记录
    /// </summary>
    [Table("user_generic_history")]
    public class UserGenericHistory : Entity
    {
        public GenericType GenericType { get; set; }

        public DateTime CreateTime { get; set; }

        public int UserId { get; set; }

        /// <summary>
        /// 含相对路径文件名
        /// </summary>
        public string FileName { get; set; }

        public bool IsEnable { get; set; }

        /// <summary>
        /// 文件名
        /// </summary>
        public string ShortFileName { get; set; }

        /// <summary>
        /// Ip
        /// </summary>
        public string Ip { get; set; }
    }
}
